package ace.module.account.api.model.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/3/20 9:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RegisterQuickTenantByPhoneInput {

  @Valid
  @NotNull
  @Schema(title = "基础资料")
  private RegisterQuickCommonInput commonInput;

  /**
   * 注册手机
   */
  @NotEmpty
  @Schema(title = "手机号码")
  private String phoneNumber;
}
